//
// Created by Lin on 2023/7/20.
//
#include <iostream>
#include <vector>
#include "arrUtil.h"
using namespace std;

int main()
{
    vector<int> l={9,8,7,5,5,4,3,1,2};
    randVector(l,2000);
    for (int i = 0; i < l.size(); ++i)
    {
        for (int j = i; j < l.size(); ++j)
        {
            if(l[i]>l[j])
                swap(l[i],l[j]);
        }
    }
    printVector(l);
    cout<<checkSortVector(l);
    return 0;
}